package cn.itcast.day05.demo02;

public class DemoArrayOne {

    public static void main(String[] args) {
        int[] arrayA=new int[3];//动态初始化
        System.out.println(arrayA);//地址值
        System.out.println(arrayA[0]);//0
        System.out.println(arrayA[1]);
        System.out.println(arrayA[2]);
        System.out.println("===============");


        //改变数组当中元素的内容
        arrayA[1]=10;
        arrayA[2]=20;
        System.out.println(arrayA);
        System.out.println(arrayA[0]);
        System.out.println(arrayA[1]);
        System.out.println(arrayA[2]);

    }

}
